package com.huawei.appgallery.assistantdock.buoydock.uikit.remote;

import android.content.Intent;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public class RemoteBuoyCallback implements Parcelable {
    public static final Creator<RemoteBuoyCallback> CREATOR = new Creator<RemoteBuoyCallback>() {
        public /* synthetic */ Object createFromParcel(Parcel parcel) {
            return ˏ(parcel);
        }

        public /* synthetic */ Object[] newArray(int i) {
            return ˋ(i);
        }

        public RemoteBuoyCallback ˏ(Parcel parcel) {
            return new RemoteBuoyCallback(parcel);
        }

        public RemoteBuoyCallback[] ˋ(int i) {
            return new RemoteBuoyCallback[i];
        }
    };
    private Intent ˏ;
    private int ॱ;

    public RemoteBuoyCallback(int i, Intent intent) {
        this.ॱ = i;
        this.ˏ = intent;
    }

    protected RemoteBuoyCallback(Parcel parcel) {
        this.ॱ = parcel.readInt();
        this.ˏ = (Intent) parcel.readParcelable(Intent.class.getClassLoader());
    }

    public int ˎ() {
        return this.ॱ;
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(this.ॱ);
        parcel.writeParcelable(this.ˏ, i);
    }
}
